/**
 * 职级系列
 */
export const postRankTypeChildren = [
    {
        label: '审批内容id',
        formId: 'hiDataId',
        tag: 'Input',
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '制度编号',
        formId: 'institutionNo',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '制度类型',
        formId: 'rankCode',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        proCondition: true,
        isUsed: false,
        conditionShowOption: { valueMode: 'multiple', showType: 'select', fetchType: 'grade' },
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '制度类型',
        formId: 'rankCodeName',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '制度简介',
        formId: 'institutionIntroduce',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '操作类型',
        formId: 'operationType',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '申请成功跳转',
        formId: 'applySuccessUrl',
        tag: 'Input',
        rules: [],
        options: {
            initialValue: '/office/personnelManagement/organization/rank/list',
            disabled: true
        },
        inFormAuth: false,
        inRenderDom: false
    }
];

export const postRankTypeControl = {
    label: '职级序列申请',
    cmpType: 'custom',
    formId: '',
    key: 'OrgRankTypeApply',
    tag: 'OrgRankTypeApply',
    formStyle: true,
    tagIcon: 'iconprocess_common_supplementcard_icon',
    children: postRankTypeChildren,
    proCondition: true,
    isUsed: false
};
